package org.jeecg.modules.sggg.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 三高协诊
 * @Author: jeecg-boot
 * @Date:   2022-10-26
 * @Version: V1.0
 */
@Data
@TableName("sg_treatment_assist")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sg_treatment_assist对象", description="三高协诊")
public class SgTreatmentAssist implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**居民*/
	@Excel(name = "居民", width = 15)
    @ApiModelProperty(value = "居民")
    private String memberId;
	/**初步印象*/
	@Excel(name = "初步印象", width = 15)
    @ApiModelProperty(value = "初步印象")
    private String blurb;
	/**治疗过程*/
	@Excel(name = "治疗过程", width = 15)
    @ApiModelProperty(value = "治疗过程")
    private String process;
	/**预约时间*/
	@Excel(name = "预约时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预约时间")
    private Date dueTime;
	/**诊断缘由*/
	@Excel(name = "诊断缘由", width = 15, dicCode = "treatment-reason")
	@Dict(dicCode = "treatment-reason")
    @ApiModelProperty(value = "诊断缘由")
    private String reason;
	/**上转时间*/
	@Excel(name = "上转时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "上转时间")
    private Date topTiem;
	/**医院*/
	@Excel(name = "医院", width = 15)
    @ApiModelProperty(value = "医院")
    private String hospitalId;
	/**转诊医生*/
	@Excel(name = "转诊医生", width = 15)
    @ApiModelProperty(value = "转诊医生")
    private String requestId;
	/**接诊医生*/
	@Excel(name = "接诊医生", width = 15)
    @ApiModelProperty(value = "接诊医生")
    private String responseId;
	/**接诊时间*/
	@Excel(name = "接诊时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "接诊时间")
    private Date responseTime;
	/**下转时间*/
	@Excel(name = "下转时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "下转时间")
    private Date downTime;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer status;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**主要出现病史*/
	@Excel(name = "主要出现病史", width = 15)
    @ApiModelProperty(value = "主要出现病史")
    private String history;

    /**诊断结果*/
    @Excel(name = "诊断结果", width = 15)
    @ApiModelProperty(value = "诊断结果")
    private String diagnosis;

    /**住院病号*/
    @Excel(name = "住院病号", width = 15)
    @ApiModelProperty(value = "住院病号")
    private String patient;

    /**检查结果*/
    @Excel(name = "检查结果", width = 15)
    @ApiModelProperty(value = "检查结果")
    private String checkResult;

    /**用药记录*/
    @Excel(name = "用药记录", width = 15)
    @ApiModelProperty(value = "用药记录")
    private String record;

    /**康复方案*/
    @Excel(name = "康复方案", width = 15)
    @ApiModelProperty(value = "康复方案")
    private String recovery;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String sex;

    @TableField(exist = false)
    private String age;

    @TableField(exist = false)
    private String idCard;

    @TableField(exist = false)
    private String phone;

    @TableField(exist = false)
    private String address;

    @TableField(exist = false)
    private String threeTag;

    @TableField(exist = false)
    private String referralTime;

    @TableField(exist = false)
    private String hospital;

    @TableField(exist = false)
    private String hospitalTarget;

    @TableField(exist = false)
    private String realname;

    @TableField(exist = false)
    private String dPhone;

    @TableField(exist = false)
    private List<String> responsibleAgencies;

}
